﻿using System.Diagnostics;

namespace BSDS.Core.Model.Data
{
    [DebuggerDisplay("{AttributeInfo.Name} = {Value}")]
    public class AttributeValue
    {
        public AttributeValue(AttributeInfo attributeInfo, string value)
        {
            AttributeInfo = attributeInfo;
            Value = value.Trim();
        }

        public AttributeInfo AttributeInfo { get; private set; }
        public string Value { get; set; }
    }
}